package com.sky.mapper;

import com.sky.vo.BusinessDataVO;
import com.sky.vo.DishOverViewVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;
import java.util.Objects;

@Mapper
public interface WorkspaceMapper {

    BusinessDataVO businessData();

    List<Map<String, Object>> overviewOrders();

//    @Select("select count(status) from orders where status is not null ")
//    Integer selectAllCount();

//    List<Map<String, Object>> overviewDishes();

    Integer selectTodayCountByStatus(Integer status);

    DishOverViewVO overviewDishes();

    Integer selectCountByStatus(Integer status);

    Integer selectSetmealCountByStatus(Integer status);
}
